home *** CD-ROM | disk | FTP | other *** search
/ Aminet 44 / Aminet 44 (2001)(GTI - Schatztruhe)[!][Aug 2001].iso / Aminet / util / misc / randomFileName.readme < prev    next >
Encoding:
Text File  |  2001-07-04  |  2.7 KB  |  82 lines

  1. Short:    Generates random file names
  2. Author:   carls@kajen.com (Carl Svensson)
  3. Uploader: carls@kajen.com (Carl Svensson)
  4. Version:  0.9
  5. Type:     util/misc
  6. Requires: ARexx
  7.  
  8.  
  9.               Random File Name Generator
  10.               ==========================
  11.               
  12.                 © 2001 Carl Svensson
  13.                 
  14.  
  15. What's this?
  16. ¯¯¯¯¯¯¯¯¯¯¯¯
  17. A random file name generator. It generates a pseudo-unique file name
  18. consisting of the letter a-z.
  19.  
  20. Contents of this distribution
  21. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  22. randFileName.readme -- This file
  23. randFileName.rx     -- The actual script
  24.  
  25. How do I use it?
  26. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  27. It's an ARexx script. I'll give you an example on how to
  28. call it from the command line:
  29.  
  30. 1.Work:Data/rexx/> rx randFileName.rx 12 alamaba.gif .gif
  31.  
  32. This will rename the file alabama.gif to, for example,
  33. "kjjjoqejgjho.gif".
  34.  
  35. The command line arguments are len, file and suffix
  36. LEN -- Length of the new file name excluding suffix
  37.     For example, if you replace "12" with "6" in the
  38.     example above, you'll get a 6 + 4-letter name (i e "abcdef.gif")
  39. FILE -- File to rename
  40.     If the file name specified doesn't exist, randFileName will just
  41.     print the new name instead of renaming the file.
  42. SUFFIX -- The dot-extension
  43.     This adds a dot-extension to the file name.
  44.     Can be specified with or without the period sign.
  45.     If the period sign isn't included, randFileName will add it.
  46.     If no suffix is specified, the suffix .rnd will automatically
  47.     be addedd to the file name.
  48.  
  49. Legal stuff
  50. ¯¯¯¯¯¯¯¯¯¯¯
  51. This program is freely distributable as long as I'm credited
  52. in the header comment of the source code. However, if included
  53. in a commercial package or on a magazine coverdisk, I'd like
  54. to be informed about this, and I'd appreciate a small donation
  55. (for example a copy of the magazine/product where it's included).
  56. I am NOT responsible for any of the problems this script may cause.
  57. I offer NO warranty and I cannot guarantee that it'll work on your
  58. computer.
  59.  
  60. It has been tested on my Amiga1200 running AmigaOS 3.0 on a 68040 CPU,
  61. but I guess it should work on any Amiga with ARexx installed.
  62.  
  63. The Author
  64. ¯¯¯¯¯¯¯¯¯¯
  65. Contact me (Carl Svensson) by email: carls@kajen.com
  66. or visit my homepage, http://carls.1av10.nu/ for further
  67. information.
  68.  
  69. That's it
  70. ¯¯¯¯¯¯¯¯¯
  71. Hope you find it useless enough :-)
  72.  
  73.  
  74. ============================= Archive contents =============================
  75.  
  76. Original  Packed Ratio    Date     Time    Name
  77. -------- ------- ----- --------- --------  -------------
  78.     2332    1146 50.8% 06-May-01 14:26:42 +randFileName.readme
  79.     1816     834 54.0% 06-May-01 14:02:18 +randFileName.rx
  80. -------- ------- ----- --------- --------
  81.     4148    1980 52.2% 07-May-101 19:36:30   2 files
  82.